package com.hxgz.steel.dao;

import com.hxgz.steel.domain.NewsManager;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component("NewsManagerMapper")
public interface NewsManagerMapper {

  int deleteByPrimaryKey(Long id);

  int insert(NewsManager record);

  int insertSelective(NewsManager record);

  NewsManager selectByPrimaryKey(Long id);

  int updateByPrimaryKeySelective(NewsManager record);

  int updateByPrimaryKey(NewsManager record);

  List<NewsManager> selectByBelongId(@Param("belongId") Integer belongId);

  List<NewsManager> queryInformationList(@Param("belongId") Integer type);

  NewsManager getInfoAndUserList(Long id);
}